package com.es.www.patternforobj;

/**
 * @Created by michangtao
 * @Date 2022/5/17 13:19
 * @Description
 */
public class Client {

    public static void main(String[] args) {
        Phone phone = new Phone(new VoltageAdapter(new Voltage220()));
        phone.charge();
    }
}
